Describes a render command and provides the necessary information for it to happen. More...
Static Public Member Functions | |
| static RenderCommand | draw () |
| static RenderCommand | changeShader (Shader *shader) |
| static RenderCommand | changeMesh (Mesh *mesh) |
| static RenderCommand | prepareInstance (Entity *entity) |
Public Attributes | |
| Mesh * | _mesh = nullptr |
| If necessary, the mesh to work with. | |
| Shader * | _shader = nullptr |
| If necessary, the shader to work with. | |
| Entity * | _instance = nullptr |
| If necessary, the instance to work with. | |
| RENDER_COMMAND_TYPE | _type = RENDER_COMMAND_TYPE::UNKNOWN |
| Its type. | |
Describes a render command and provides the necessary information for it to happen.
|
static |
Creates a drawing command.
|
static |
Creates a shader changing command.
| shader | The shader to use. |
|
static |
Creates a mesh changing command.
| mesh | The mesh to use. |
|
static |
Creates a prepare instance command.
| entity | The entity instance to use. |